<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>更新页面</h1>

<div th:text="${id}"></div>
<form action="/updatepersoncommit" method="post">
    <input type="text" name="id"  hidden th:value="${id}" placeholder="请输入id"/></br>
    <input type="text" name="name" th:value="${name}" placeholder="请输入用户名"/></br>
    <input type="text" name="age" th:value="${age}" placeholder="请输入用户年龄"/></br>
    <input type="text" name="stucardid" hidden th:value="${stucardid}" placeholder="请输入用户名"/></br>
    <input type="text" name="stuid" th:value="${stuid}" placeholder="请输入学号"/></br>
    <input type="text" name="classname" th:value="${classname}" placeholder="请输入班级"/></br>
    <input type="submit" value="更新用户"/>
</form>
</body>
</html>